home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / util / crypt / crypt_device_1_8.lha / README < prev    next >
Text File  |  1992-11-30  |  3KB  |  84 lines

  1.  
  2. Crypt.device V1.8 Copyright © 1992 by Timo Rossi <trossi@jyu.fi> and 
  3. Risto Paasivirta <paasivir@jyu.fi>, all rights reserved.
  4.  
  5. This software can be freely used for non-commercial purposes.
  6. We don't quarantee this works. Next release may be incompatible with
  7. this version. For serious use you should read and understand the source
  8. and compile it yourself. Please send us feedback and bug reports.
  9.  
  10. Crypt.device is ment to be used with harddisks to create small encrypted
  11. file systems for 'critical data'. Like love letters, private rsa keys
  12. and whatever data you don't think other people should be able to read.
  13.  
  14. Encrypting algorithm used is IDEA cipher in cipher block chaining mode. 
  15. Each 512-byte device block is encrypted with block offset used as initial 
  16. vector. See end of this file for IDEA patent info.
  17.  
  18.  
  19. This distribution contains files:
  20.  
  21. README            this file
  22. mountlist.crd        example mountlist entry
  23. crypt.device        device
  24.  
  25. Makefile        makefile for crypt.device
  26. cryptdev.a        device source code (from fdev)
  27. idea68k.a        encryption source code
  28.  
  29. createfile        utility to create data storage file for device
  30. createfile.c        source
  31. resetdev        utility to reset/remove pass phrase from memory
  32. resetdev.c        source
  33.  
  34.  
  35. Installation:
  36.  
  37. Copy crypt.device to devs:
  38. Copy mountlist.crd to devs: (or append it to your mountlist file)
  39. Create the storage file for encrypted data using command:
  40. >createfile crd0filename 1760
  41. For floppy-sized encrypted unit, blocks = Surfaces * BlocksPerTrack *
  42. Cylinders = 11 * 2 * 80 = 1760, if different size is needed modify
  43. mountlist as needed.
  44.  
  45. Set assign so cryptdev can find the file and mount device unit:
  46. >assign crdev0: crd0filename
  47. >mount CRD0: from mountlist.crd
  48. You might include these commands to your user-startup file.
  49.  
  50. When CRD0 are first accessed, crypt.device prompts you to type
  51. and verify pass phrase. There is no validity checking, if you give
  52. wrong/new pass phrase, unit behaves like unformatted partition.
  53. You need to format filesystem before use. Command:
  54. >format drive CRD0: name Whatever
  55.  
  56. Pass phrase should be at least 10 characters long and nothing that
  57. can be easily quessed. Use different pass phrase for each unit.
  58. Now CRD0: can be used like any small disk unit.
  59.  
  60. If you gave wrong pass phrase or need remove pass phrase form some unit 
  61. without turning computer off, command resetdev unit [device.name]
  62. will do that. Try:
  63. >resetdev 0
  64.  
  65. Be aware that file system buffers may still be in memory decrypted. Use
  66. power switch if in doubt. Resetdev can be used to reset devices other
  67. than crypt.device, but we don't know if that's useful for anything...
  68.  
  69. You can add more units by creating more mountlist entries and storage
  70. files. Each unit has it's own pass phrase and it's recommended to use
  71. different for each one.
  72.  
  73.  
  74. PATENT
  75. IDEA is registered as the international patent  WO  91/18459
  76. "Device for Converting a Digital Block and the Use thereof".
  77. For commercial use of IDEA, one should contact
  78.  
  79. ASCOM TECH AG
  80. Freiburgstrasse 370
  81. CH-3018 Bern, Switzerland
  82.  
  83.  
  84.